from random import *

class RandomAgent:
    def __init__(self, value):
        self.value = value
        
    def play(self, board):
        actions = board.notFullColumns()
        if actions == []:
            return
        action = choice(actions)
        board.drop(action, self.value)